//
//  HLGroupRequest.h
//  YueYue
//
//  Created by hulu001 on 2023/5/20.
//

#import "HLBaseRequest.h"
#import "HLGroupModel.h"
#import "HLGroupUserModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, HLGroupRequestType) {
    HLGroupRequestTypeGetGroupList, ///< 查询分组列表
    HLGroupRequestTypeGetUserListOfGroup,///< 查询分组内的用户
    HLGroupRequestTypeAddUser,      ///< 添加用户到组
    HLGroupRequestTypeDeleteUser,   ///< 从组删除用户
    HLGroupRequestTypeAddGroup,     ///< 添加编辑组
};

@interface HLGroupRequest : HLBaseRequest


- (instancetype)initWithType:(HLGroupRequestType)type params:(NSDictionary *)params;

/// 分组列表
@property (strong,  nonatomic) NSArray <HLGroupModel *>* groupList;
/// 组内的用户列表
@property (strong,  nonatomic) NSArray <HLGroupUserModel *>* groupUserList;

@end

NS_ASSUME_NONNULL_END
